import React from 'react';
export function withLog(Node:any){
    return class Log extends React.Component<any, any> {
        constructor(props: any) {
            console.log(props)
          super(props);
          this.state = {
          }
        }
      
        componentDidMount() { 
        }
        public render() {
           
          return (
            <div>
                    <Node {...this.props}/>
            </div>
          );
        }
      }
}
